import {
	defineStore
} from 'pinia'


export default defineStore("recorder", {
	state: () => ({
		audioFile:null,
		videoFile:null
	}),
	actions: {
		saveRecords(data) {
			this.audioFile = data
		},
        removeRecords() {
			this.audioFile = null
		},
		saveVideoFile(data) {
			this.videoFile = data
		},
        removeVideoFile() {
			this.videoFile = null
		},
	},
})